<!-- Star of Main -->
<div class="main mt10" >
    <!-- Star of area2s -->
    <div class="area2s">
    	<!-- Star of Col1 -->
    	<div class="col1">
			<div class="breadCrumb">
				<div class="fl"><span class="cRed fb">当前位置：</span> <a href="<?php echo CHtml::normalizeUrl(array('/')) ?>">首页</a>&nbsp;&rsaquo;&nbsp;<strong>个人中心</strong></div>
            </div>    
			<div class="member mt10">
				<?php $this->widget('ProfileLeftNav', array('user' => $user)) ?>
				<div class="memberMain">
					<div class="memberMain-inner">
						<div class="merber-title"><h2 class="cRed"><span class="mem-icon mem-editdata"></span>修改密码</h2></div>
						<?php echo CHtml::form(array(''), 'post', array('id' => 'change_password_form')) ?>
						<table cellpadding="0" cellspacing="0" border="0">
							<?php if($user->hasErrors()) : ?>
							<tr>
								<td colspan="2"><?php foreach($user->getErrors() as $error) : ?><?php foreach($error as $message) : ?><div class="notice_error"><?php echo $message ?><?php endforeach ?><?php endforeach ?></div></td>
							</tr>
							<?php elseif(isPost()) : ?>
							<tr>
								<td colspan="2"><div class="notice_oktext">密码修改成功，请牢记您的新密码。</div></td>
							</tr>
							<?php endif ?>
							<tr>
								<td class="row-left">当前密码：</td>
								<td class="row-right">
									<?php echo CHtml::activePasswordField($user, 'oldPassword', array('class' => 'ipt3', 'value' => ''))?>
								</td>
							</tr>
							<tr>
								<td class="row-left">新密码：</td>
								<td class="row-right">
									<?php echo CHtml::activePasswordField($user, 'password', array('class' => 'ipt3', 'value' => ''))?>
								</td>
							</tr>
							<tr>
								<td class="row-left">重复新密码：</td>
								<td class="row-right">
									<?php echo CHtml::activePasswordField($user, 'confirmPassword', array('class' => 'ipt3', 'value' => ''))?>
								</td>
							</tr>
							<tr>
								<td class="row-left">&nbsp;</td>
								<td class="row-right"><a class="btn-gray edit-data" href="" onclick="$('#change_password_form').submit();return false;"><span>提交</span></a></td>
							</tr>
						</table>
						<?php echo CHtml::endForm() ?>
					</div>
				</div>
			</div>
        </div>
        <!-- End of Col1 -->
        <!-- Star of Col2 -->
        <div class="col2">
			<?php $this->widget('SearchBox') ?>
			<?php $this->widget('MustKnow') ?>
			<?php $this->widget('HotPosts') ?>
        </div>
        <!-- End of Col2 -->
    </div><!-- End of area3s -->
</div>
<!-- End of Main -->
